<?php

namespace App\Models;


class Question extends Base
{
    protected $hidden = ['updated_at'];

    /**
     * 视频分类（多对多关系）
     * @return \Illuminate\Database\Eloquent\Relations\BelongsToMany
     */
    public function qtags() {
        return $this->belongsToMany(Qtag::class, 'question_qtags')->using(QuestionQtag::class);
    }
    
}
